package com.qianfeng.wuyang.himalaya.bean.broadcastbean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by wuyang on 2016/12/5.
 */

public class BC_topRadiosEntity implements Parcelable{



    private String coverLarge;

    private String coverSmall;
    private int fmUid;
    private int id;
    private String name;
    private int playCount;
    private BC_topRadiosDetailPlayUrlEntity playUrl;
    private int programId;
    private String programName;
    private int programScheduleId;

    protected BC_topRadiosEntity(Parcel in) {
        coverLarge = in.readString();
        coverSmall = in.readString();
        fmUid = in.readInt();
        id = in.readInt();
        name = in.readString();
        playCount = in.readInt();
        programId = in.readInt();
        programName = in.readString();
        programScheduleId = in.readInt();
    }

    public static final Creator<BC_topRadiosEntity> CREATOR = new Creator<BC_topRadiosEntity>() {
        @Override
        public BC_topRadiosEntity createFromParcel(Parcel in) {
            return new BC_topRadiosEntity(in);
        }

        @Override
        public BC_topRadiosEntity[] newArray(int size) {
            return new BC_topRadiosEntity[size];
        }
    };

    public String getCoverLarge() {
        return coverLarge;
    }

    public void setCoverLarge(String coverLarge) {
        this.coverLarge = coverLarge;
    }

    public String getCoverSmall() {
        return coverSmall;
    }

    public void setCoverSmall(String coverSmall) {
        this.coverSmall = coverSmall;
    }

    public int getFmUid() {
        return fmUid;
    }

    public void setFmUid(int fmUid) {
        this.fmUid = fmUid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPlayCount() {
        return playCount;
    }

    public void setPlayCount(int playCount) {
        this.playCount = playCount;
    }

    public BC_topRadiosDetailPlayUrlEntity getPlayUrl() {
        return playUrl;
    }

    public void setPlayUrl(BC_topRadiosDetailPlayUrlEntity playUrl) {
        this.playUrl = playUrl;
    }

    public int getProgramId() {
        return programId;
    }

    public void setProgramId(int programId) {
        this.programId = programId;
    }

    public String getProgramName() {
        return programName;
    }

    public void setProgramName(String programName) {
        this.programName = programName;
    }

    public int getProgramScheduleId() {
        return programScheduleId;
    }

    public void setProgramScheduleId(int programScheduleId) {
        this.programScheduleId = programScheduleId;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(coverLarge);
        parcel.writeString(coverSmall);
        parcel.writeInt(fmUid);
        parcel.writeInt(id);
        parcel.writeString(name);
        parcel.writeInt(playCount);
        parcel.writeInt(programId);
        parcel.writeString(programName);
        parcel.writeInt(programScheduleId);
    }
}
